\documentclass[tikz,border=2mm]{standalone}
\usepackage{array,amsmath,mathptmx,xcolor,bbding,pifont,colortbl}
\usepackage[UTF8]{ctex}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% 只需要这个就可以
\usepackage[thicklines]{cancel}
% 可以设置线条颜色，默认是黑色
\usepackage{xcolor}
\usepackage{tikz-cd}
\usepackage{tikz,graphicx,subfig,caption} % Required for drawing custom shapes
\usetikzlibrary{fit,matrix,chains,arrows,shapes,positioning,arrows.meta,chains,shadows,shapes.callouts,decorations.text,shapes.symbols,shapes.misc, positioning,decorations.pathreplacing,calc}

% 额外添加
\usepackage{indentfirst}
\usepackage{diagbox} 
\usepackage{ulem}
\usepackage{cancel}

\begin{document} 
	\begin{tikzpicture}[>=latex,every node/.style={anchor=south west,,inner sep=0,fill=white}]
		\node(table)[anchor=north,fill=white] at (0,0){  
			\begin{tabular}{|p{8em}|p{2em}|p{2em}|p{5em}|p{5em}|p{6em}|}
				\hline 
				\multicolumn{2}{|c|}{SYN[n]} & w & \textcolor{blue}{动作符号} & \textcolor{blue}{SEM[m]} & QT[q] \\ \hline
				$\#_0$ & 0 & a &&&\\\hline
				$\#_0$ \textcolor{red}{\uline{\textcolor{black}{$a_{10}$}}} & \textcolor{red}{10} & $*$ & \textcolor{blue}{PUSH(a)} & \textcolor{blue}{a} & \\\hline
				$\#_0$ \textcolor{red}{\uline{\textcolor{black}{$F_{9}$}}} & \textcolor{red}{9} & $*$ &   & \textcolor{blue}{a} & \\\hline
				$\#_0$ $T_{5,6}$ & 5,6 & $*$ & & \textcolor{blue}{a} & \\\hline
				$\#_0$ $T_{5,6}$ $*_{7}$ & 7 & b & & \textcolor{blue}{a} & \\\hline
				$\#_0$ $T_{5,6}$ $*_{7}$ \textcolor{red}{\uline{\textcolor{black}{$b_{10}$}}} & \textcolor{red}{10} & + & \textcolor{blue}{PUSH(b)} & \textcolor{blue}{ab} & \\\hline
				$\#_0$ \textcolor{red}{\uline{\textcolor{black}{$T_{5,6}$ $*_{7}$ $F_{8}$}}} & \textcolor{red}{8} & + & \textcolor{blue}{GEQ($*$)} & \textcolor{red}{\bcancel{\textcolor{blue}{$a$}}} \textcolor{red}{\bcancel{\textcolor{blue}{$b$}}} & (1) (*\ a\ b\ t1) \\\hline
				$\#_0$ \textcolor{red}{\uline{\textcolor{black}{$T_{5,6}$}}} & \textcolor{red}{5,6} & + &  & \textcolor{blue}{$t1$} & \\\hline
				$\#_0$ $E_{1,2}$ & 1,2 & + & & \textcolor{blue}{$t1$} & \\\hline
				$\#_0$ $E_{1,2}$ $+_3$ & 3 & c & & \textcolor{blue}{$t1$} & \\\hline
				$\#_0$ $E_{1,2}$ $+_3$ \textcolor{red}{\uline{\textcolor{black}{$c_{10}$}}}& \textcolor{red}{10} & \# & \textcolor{blue}{PUSH(c)} & \textcolor{blue}{$t1c$} & \\\hline
				$\#_0$ $E_{1,2}$ $+_3$ \textcolor{red}{\uline{\textcolor{black}{$F_{9}$}}}& \textcolor{red}{9} & \# &  & \textcolor{blue}{$t1c$} & \\\hline
				$\#_0$  \textcolor{red}{\uline{\textcolor{black}{$E_{1,2}$ $+_3$ $T_{4,6}$}}}& \textcolor{red}{4,6} & \# & \textcolor{blue}{GEQ(+)} & \textcolor{red}{\bcancel{\textcolor{blue}{$t1$}}} \textcolor{red}{\bcancel{\textcolor{blue}{$c$}}} & (2)(+\ t1\ c\ t2)\\\hline
				$\#_0$ $E_{1,2}$ & \textcolor{red}{1,2} & \# &&& \\\hline
				
			\end{tabular}
		};
		\node(note1)[draw, fill=yellow!20,rectangle callout,callout relative pointer={(-2em,0.0em)},rounded corners,align=center,inner sep=0.3em] at ([xshift=4em,yshift=0em]table.south){ 结束 };
		
		
	\end{tikzpicture}
\end{document}
